package com.turing.post.salesmanage.util;

import java.math.BigInteger;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;
import com.turing.post.util.PCPSWebInput;

/**
 * 单位信息业务接口
 * @author zxp
 * @Dec 22, 2012
 */
@Remote
@Local
public interface OrganizeCustomBusiness {

	/**
	 * 新增单位信息
	 * @param webInput 日志操作对象
	 * @param organizeCustom  单位信息
	 * @throws PCPSApplicationException
	 */
	public BigInteger insertOrganizeCustomInfo(PCPSWebInput webInput,
			OrganizeCustom organizeCustom) throws PCPSApplicationException;

	/**
	 * 修改单位信息
	 * @param webInput 日志操作对象
	 * @param organizeCustom 单位信息
	 * @throws PCPSApplicationException
	 */
	public void updateOrganizeCustomInfo(PCPSWebInput webInput,
			OrganizeCustom organizeCustom) throws PCPSApplicationException;
}
